package com.crm.service.activityManager;

import com.crm.model.entity.activityManager.CustomerGiftActivityRelation;

import java.util.List;

/**
 * @author luojie
 * @date 2021/3/1 14:44
 */
public interface CustomerGiftActivityRelationDbService{

    /**
     * 赠品-赠品活动表关系表新增数据
     * @param customerGiftActivityRelation
     * @return
     */
    Boolean insertCustomerGiftActivityRelation(CustomerGiftActivityRelation customerGiftActivityRelation);

    /**
     * 赠品列表--删除赠品/赠品活动表关系
     * @param customerGiftActivityRelation  ---(赠品活动表model)
     * @return
     */
    Boolean deleteCustomerGiftActivityRelationByCustomerGiftActivity(CustomerGiftActivityRelation customerGiftActivityRelation);

    /**
     * 编辑赠品——根据赠品活动id查询赠品列表
     * @param giftActivityId
     * @return
     */
    List<CustomerGiftActivityRelation>  selectGiftDropDownCheckedListByGiftActivityId(String giftActivityId);
}
